package com.ddwl.schema.vo.funds;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 订单退款表(OrderRefunds)返回对象
 *
 * @author zach
 * @since 2020-09-24 11:42:01
 */
@Getter
@Setter
@ApiModel(value = "订单退款表")
public class OrderRefundsVo {

    private String id;

    @ApiModelProperty(value = "业务退款单号")
    private String bizRefundsNo;

    @ApiModelProperty(value = "用户id")     
    private String userId;

    @ApiModelProperty(value = "用户名称")     
    private String userName;

    @ApiModelProperty(value = "订单号")     
    private String orderNo;

    @ApiModelProperty(value = "订单金额")     
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "退款金额")     
    private BigDecimal refundsAmount;

    @ApiModelProperty(value = "所属产品")     
    private String product;

    @ApiModelProperty(value = "退款状态（0创建10提交20支付30失败）")
    private Integer status;

    @ApiModelProperty(value = "三方平台交易id")
    private String transactionId;

    @ApiModelProperty(value = "回调方法")
    private String notifyMethod;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")
    private Instant gmtModified;

    @ApiModelProperty(value = "错误描述")
    private String errMsg;
}